<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="Cask Data, Inc." name="author" />
<meta content="Frequently Asked Questions about the Cask Data Application Platform" name="description" />
<meta content="Copyright © 2014-2017 Cask Data, Inc." name="copyright" />


    <meta name="git_release" content="6.1.1">
    <meta name="git_hash" content="05fbac36f9f7aadeb44f5728cea35136dbc243e5">
    <meta name="git_timestamp" content="2020-02-09 08:22:47 +0800">
    <title>常见问题: Cloudera Manager</title>

    <link rel="stylesheet" href="_static/cdap-bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="_static/bootstrap-3.3.6/css/bootstrap.min.css" type="text/css" />
    <link rel="stylesheet" href="_static/bootstrap-3.3.6/css/bootstrap-theme.min.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/bootstrap-sphinx.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/cdap-dynamicscrollspy-4.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/jquery.mCustomScrollbar.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/cdap-jquery.mCustomScrollbar.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/abixTreeList-2.css" type="text/css" />
    <link rel="stylesheet" href="_static/cdap-bootstrap.css" type="text/css" />

    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '6.1.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  false
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <script type="text/javascript" src="_static/language_data.js"></script>

    <link rel="shortcut icon" href="_static/favicon.ico"/>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="top" title="Cask Data Application Platform 6.1.1 Documentation" href="index.html" />
    <link rel="up" title="常见问题" href="index.html" />
    <link rel="next" title="常见问题: CDAP Pipelines" href="cdap-pipelines.html" />
    <link rel="prev" title="常见问题: CDAP" href="cdap.html" />
    <!-- block extrahead -->
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <!-- block extrahead end -->

</head>
<body role="document">

<!-- block navbar -->
<div id="navbar" class="navbar navbar-inverse navbar-default navbar-fixed-top">
    <div class="container-fluid">
      <div class="row">
        <div class="navbar-header">
          <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
          <a class="navbar-brand" href="table-of-contents/../../index.html">
            <span><img alt="CDAP logo" src="_static/cdap_logo.svg"/></span>
          </a>

          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>

          <div class="pull-right">
            <div class="dropdown version-dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                role="button" aria-haspopup="true" aria-expanded="false">
                v 6.1.1 <span class="caret"></span>
              </a>
              <ul class="dropdown-menu">
                <li><a href="//docs.cdap.io/cdap/5.1.2/en/index.html">v 5.1.2</a></li>
                <li><a href="//docs.cdap.io/cdap/4.3.4/en/index.html">v 4.3.4</a></li>
              </ul>
            </div>
          </div>
          <form class="navbar-form navbar-right navbar-search" action="search.html" method="get">
            <div class="form-group">
              <div class="navbar-search-image material-icons"></div>
              <input type="text" name="q" class="form-control" placeholder="  Search" />
            </div>
            <input type="hidden" name="check_keywords" value="yes" />
            <input type="hidden" name="area" value="default" />
          </form>

          <div class="collapse navbar-collapse nav-collapse navbar-right navbar-navigation">
            <ul class="nav navbar-nav"><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link " href="table-of-contents/../../index.html">简介</a></li><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link " href="table-of-contents/../../guides.html">手册</a></li><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link " href="table-of-contents/../../reference-manual/index.html">参考</a></li><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link current" href="table-of-contents/../../faqs/index.html">帮助</a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>
  </div><!-- block navbar end -->
<!-- block main content -->
<div class="main-container container">
  <div class="row"><div class="col-md-2">
      <div id="sidebar" class="bs-sidenav scrollable-y-outside" role="complementary">
<!-- theme_manual: faqs -->
<!-- theme_manual_highlight: help -->
<!-- sidebar_title_link: Help -->

  <div role="note" aria-label="manuals links"><h3>Help</h3>

    <ul class="this-page-menu">
      <li class="toctree-l1"><b><a href="table-of-contents/../../faqs/index.html" rel="nofollow">常见问题</a></b>
      <nav class="pagenav">
      <ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="index.html"> Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="general.html"> General Questions</a></li>
<li class="toctree-l1"><a class="reference internal" href="cdap.html"> CDAP</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#"> Cloudera Manager</a></li>
<li class="toctree-l1"><a class="reference internal" href="cdap-pipelines.html"> CDAP Pipelines</a></li>
</ul>
</nav>
      </li>
    </ul>
  </div></div>
    </div><div class="col-md-8 content" id="main-content">
    
  <div class="section" id="cloudera-manager">
<h1>常见问题: Cloudera Manager<a class="headerlink" href="#cloudera-manager" title="Permalink to this headline">🔗</a></h1>
<div class="section" id="cdap-installed-on-cdh-using-cloudera-manager-gives-a-no-parcel-error-what-do-i-do">
<h2>CDAP installed on CDH using Cloudera Manager gives a “No parcel” error—what do I do?<a class="headerlink" href="#cdap-installed-on-cdh-using-cloudera-manager-gives-a-no-parcel-error-what-do-i-do" title="Permalink to this headline">🔗</a></h2>
<p>If, when you try to start services, you receive an error in <code class="docutils literal notranslate"><span class="pre">stderr</span></code> such as:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">Error found before invoking supervisord: No parcel provided required tags: set([u&#39;cdap&#39;])</span>
</pre></div>
</div>
<p>The error message shows that a required parcel isn’t available, suggesting that you
have not completed the last step of installing a parcel, <em>Activation</em>. There are 4 steps
to installing a parcel:</p>
<ul class="simple">
<li><strong>Adding the repository</strong> to the list of repositories searched by Cloudera Manager</li>
<li><strong>Downloading</strong> the parcel to the Cloudera Manager server</li>
<li><strong>Distributing</strong> the parcel to all the servers in the cluster</li>
<li><strong>Activating</strong> the parcel</li>
</ul>
<p>Start by clicking on the parcel icon (near the top-left corner of Cloudera Manager and looks
like a gift-wrapped box) and ensure that the CDAP parcel is listed as <em>Active</em>.</p>
<p><a class="reference external" href="../../admin-manual/installation/cloudera.html#admin-installation-cloudera" title="(in Cask Data Application Platform v6.1.1)"><span class="xref std std-ref">Detailed instructions</span></a> are available on how to install CDAP on CDH
(<a class="reference external" href="http://www.cloudera.com/content/www/en-us/resources/datasheet/cdh-datasheet.html">Cloudera Distribution of Apache Hadoop</a>)
using <a class="reference external" href="http://www.cloudera.com/content/www/en-us/products/cloudera-manager.html">Cloudera Manager</a>.</p>
</div>
<div class="section" id="when-i-run-a-query-i-see-permission-error-in-the-logs-what-do-i-do">
<h2>When I run a query, I see “Permission Error” in the logs. What do I do?<a class="headerlink" href="#when-i-run-a-query-i-see-permission-error-in-the-logs-what-do-i-do" title="Permalink to this headline">🔗</a></h2>
<p>Some versions of Hive may try to create a temporary staging directory at the table
location when executing queries. If you are seeing permissions errors when running a
query, try setting <code class="docutils literal notranslate"><span class="pre">hive.exec.stagingdir</span></code> in your Hive configuration to
<code class="docutils literal notranslate"><span class="pre">/tmp/hive-staging</span></code>.</p>
<p>This can be done in Cloudera Manager using the <em>Hive Client
Advanced Configuration Snippet (Safety Valve) for hive-site.xml</em> configuration field.</p>
</div>
<div class="section" id="i-m-getting-a-message-about-missing-system-artifacts-how-do-i-fix-that">
<h2>I’m getting a message about “Missing System Artifacts”. How do I fix that?<a class="headerlink" href="#i-m-getting-a-message-about-missing-system-artifacts-how-do-i-fix-that" title="Permalink to this headline">🔗</a></h2>
<p>The bundled system artifacts are included in the CDAP parcel, located in a subdirectory
of Cloudera Manager’s <code class="docutils literal notranslate"><span class="pre">${PARCELS_ROOT}</span></code> directory, for example:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">/opt/cloudera/parcels/CDAP/master/artifacts</span>
</pre></div>
</div>
<p>Ensure that the <code class="docutils literal notranslate"><span class="pre">App</span> <span class="pre">Artifact</span> <span class="pre">Dir</span></code> configuration option points to this path on disk. Since this
directory can change when CDAP parcels are upgraded, users are encouraged to place
these artifacts in a static directory outside the parcel root, and configure accordingly.</p>
</div>
<div class="section" id="i-d-like-to-directly-access-the-parcels-how-do-i-do-that">
<span id="faqs-cloudera-direct-parcel-access"></span><h2>I’d like to directly access the parcels. How do I do that?<a class="headerlink" href="#i-d-like-to-directly-access-the-parcels-how-do-i-do-that" title="Permalink to this headline">🔗</a></h2>
<p>If you need to download and install the parcels directly (perhaps for a cluster that does
not have direct network access), the parcels are available by their full URLs. As they are
stored in a directory that does not offer browsing, they are listed here:</p>
<pre class="literal-block">
http://repository.cask.co/parcels/cdap/6.1/CDAP-6.1.1-1-el6.parcel
http://repository.cask.co/parcels/cdap/6.1/CDAP-6.1.1-1-el7.parcel
http://repository.cask.co/parcels/cdap/6.1/CDAP-6.1.1-1-precise.parcel
http://repository.cask.co/parcels/cdap/6.1/CDAP-6.1.1-1-trusty.parcel
http://repository.cask.co/parcels/cdap/6.1/CDAP-6.1.1-1-wheezy.parcel
</pre>
<p>If you are hosting your own internal parcel repository, you may also want the
<code class="docutils literal notranslate"><span class="pre">manifest.json</span></code>:</p>
<pre class="literal-block">
http://repository.cask.co/parcels/cdap/6.1/manifest.json
</pre>
<p>The <code class="docutils literal notranslate"><span class="pre">manifest.json</span></code> can always be referred to for the list of latest available parcels.</p>
<p>Previously released parcels can also be accessed from their version-specific URLs.  For example:</p>
<pre class="literal-block">
http://repository.cask.co/parcels/cdap/4.2/CDAP-4.2.0-1-el6.parcel
http://repository.cask.co/parcels/cdap/4.2/CDAP-4.2.0-1-precise.parcel
http://repository.cask.co/parcels/cdap/4.2/CDAP-4.2.0-1-trusty.parcel
http://repository.cask.co/parcels/cdap/4.2/CDAP-4.2.0-1-wheezy.parcel
</pre>
<p>To host your own parcel repository, you will need to download all the parcels,
generate a <code class="docutils literal notranslate"><span class="pre">manifest.json</span></code>, and serve it with the parcels from a webserver. For
more information on this, see Cloudera’s documentation on <a class="reference external" href="https://github.com/cloudera/cm_ext/wiki/The-parcel-repository-format">parcel repositories</a>.</p>
<p class="rubric">Ask the CDAP Community for assistance</p>
<p>You can post a question at the <a class="reference external" href="https://groups.google.com/d/forum/cdap-user">cdap-user&#64;googlegroups.com</a>.</p>
<p>The <em>cdap-user</em> mailing list is primarily for users using the product to develop
applications. You can expect questions from users, release announcements, and any other
discussions that we think will be helpful to the users.</p>
</div>
</div>

</div>
    <div class="col-md-2">
      <div id="right-sidebar" class="bs-sidenav scrollable-y" role="complementary">
        <div id="localtoc-scrollspy">
        </div>
      </div>
    </div></div>
</div>
<!-- block main content end -->
<!-- block footer -->
<footer class="footer">
      <div class="container">
        <div class="row">
          <div class="col-md-2 footer-left"><a title="常见问题: CDAP" href="cdap.html" />Previous</a></div>
          <div class="col-md-8 footer-center"><a class="footer-tab-link" href="table-of-contents/../../reference-manual/licenses/index.html">Copyright</a> &copy; 2014-2020 Cask Data, Inc.&bull; <a class="footer-tab-link" href="//docs.cask.co/cdap/6.1.1/cdap-docs-6.1.1-web.zip" rel="nofollow">Download</a> an archive or
<a class="footer-tab-link" href="//docs.cask.co/cdap">switch the version</a> of the documentation
          </div>
          <div class="col-md-2 footer-right"><a title="常见问题: CDAP Pipelines" href="cdap-pipelines.html" />Next</a></div>
        </div>
      </div>
    </footer>
<!-- block footer end -->
<script type="text/javascript" src="_static/bootstrap-3.3.6/js/bootstrap.min.js"></script><script type="text/javascript" src="_static/js/bootstrap-sphinx.js"></script><script type="text/javascript" src="_static/js/abixTreeList-2.js"></script><script type="text/javascript" src="_static/js/cdap-dynamicscrollspy-4.js"></script><script type="text/javascript" src="_static/js/cdap-version-menu.js"></script><script type="text/javascript" src="_static/js/copy-to-clipboard.js"></script><script type="text/javascript" src="_static/js/jquery.mousewheel.min.js"></script><script type="text/javascript" src="_static/js/jquery.mCustomScrollbar.js"></script><script type="text/javascript" src="_static/js/js.cookie.js"></script><script type="text/javascript" src="_static/js/tabbed-parsed-literal-0.2.js"></script><script type="text/javascript" src="_static/js/cdap-onload-javascript.js"></script><script type="text/javascript" src="_static/js/cdap-version-menu.js"></script>
    <script src="https://cdap.gitee.io/docs/cdap/json-versions.js"/></script>
  </body>
</html>